package com.prothink.service.impl;


import com.prothink.dao.CourseCollectionDao;
import com.prothink.entity.CourseCollection;
import com.prothink.service.CourseCollectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseCollectionServiceMpl implements CourseCollectionService {
    @Autowired
    private CourseCollectionDao courseCollectionDao;


    @Override
    public List getCourseCollection(CourseCollection courseCollection) {
        return courseCollectionDao.getCourseCollection(courseCollection);
    }

    @Override
    public Integer addCourseCollection(CourseCollection courseCollection) {
        return courseCollectionDao.addCourseCollection(courseCollection);
    }

}
